Skip to content

Conversation

@danielflexion
Copy link

@danielflexion danielflexion commented Nov 14, 2025

Following structure added in 82895ad without using symlink for MODULE.bazel (#6440).

Adjusted according to other boost.* 1.83.0.bcr.1 targets:

  • presubmit.yml matrix.platform list and matrix.bazel
  • Dependencies:
    • rules_cc using version 0.0.14

Adding @bazel-io skip_check unstable_url as it doesn't have a stable url.

Ran and applied modifications produced by:

bazel run //tools:update_integrity -- boost.assign --version 1.83.0.bcr.1
bazel run //tools:update_integrity -- boost.assign

@danielflexion
Copy link
Author

@bazel-io skip_check unstable_url

@bazel-io
Copy link
Member

Hello @cdelguercio, modules you maintain (boost.assign) have been updated in this PR.
Please review the changes. You can view a diff against the previous version in the "Generate module diff" check.

@bazel-io
Copy link
Member

Hello @Vertexwahn, modules you maintain (boost.assign, boost.timer) have been updated in this PR.
Please review the changes. You can view a diff against the previous version in the "Generate module diff" check.

@bazel-io
Copy link
Member

Hello @vtsao-openai, modules you maintain (boost.timer) have been updated in this PR.
Please review the changes. You can view a diff against the previous version in the "Generate module diff" check.

@bazel-io bazel-io added the skip-url-stability-check Skip the URL stability check for the PR label Nov 14, 2025
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds version 1.83.0.bcr.1 for both boost.assign and boost.timer to the Bazel Central Registry. The changes for boost.timer correctly include test targets. My review has identified a few issues that need to be addressed to ensure correctness and maintainability. For boost.assign, a critical dependency is missing, and a test dependency should be marked as a development dependency. For boost.timer, several test-only dependencies also need to be marked as development dependencies. Please see the detailed comments for specific suggestions.

Comment on lines +20 to +32
deps = [
"@boost.array",
"@boost.config",
"@boost.core",
"@boost.move",
"@boost.preprocessor",
"@boost.ptr_container",
"@boost.range",
"@boost.static_assert",
"@boost.throw_exception",
"@boost.tuple",
"@boost.type_traits",
],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

The cc_library for boost.assign is missing a dependency on @boost.multi_index. According to the Boost documentation, boost.assign depends on boost.multi_index. Please add it to the deps list to ensure the module builds correctly for consumers.

    deps = [
        "@boost.array",
        "@boost.config",
        "@boost.core",
        "@boost.move",
        "@boost.multi_index",
        "@boost.preprocessor",
        "@boost.ptr_container",
        "@boost.range",
        "@boost.static_assert",
        "@boost.throw_exception",
        "@boost.tuple",
        "@boost.type_traits",
    ],

bazel_dep(name = "boost.ptr_container", version = "1.83.0.bcr.1")
bazel_dep(name = "boost.range", version = "1.83.0.bcr.1")
bazel_dep(name = "boost.static_assert", version = "1.83.0.bcr.1")
bazel_dep(name = "boost.test", version = "1.83.0.bcr.1")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The dependency on boost.test is for running tests and is not a required dependency for the library itself. It should be marked as a development dependency by adding dev_dependency = True. This prevents downstream users from unnecessarily fetching test-only dependencies.

Suggested change
bazel_dep(name = "boost.test", version = "1.83.0.bcr.1")
bazel_dep(name = "boost.test", version = "1.83.0.bcr.1", dev_dependency = True)

Comment on lines +15 to +17
bazel_dep(name = "boost.chrono", version = "1.83.0.bcr.1")
bazel_dep(name = "boost.core", version = "1.83.0.bcr.1")
bazel_dep(name = "boost.detail", version = "1.83.0.bcr.1")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The dependencies boost.chrono, boost.core, and boost.detail are only used for tests, as indicated by the comment and their usage in overlay/BUILD.bazel. They should be marked as development dependencies by adding dev_dependency = True to each. This prevents downstream users from unnecessarily fetching test-only dependencies.

Suggested change
bazel_dep(name = "boost.chrono", version = "1.83.0.bcr.1")
bazel_dep(name = "boost.core", version = "1.83.0.bcr.1")
bazel_dep(name = "boost.detail", version = "1.83.0.bcr.1")
bazel_dep(name = "boost.chrono", version = "1.83.0.bcr.1", dev_dependency = True)
bazel_dep(name = "boost.core", version = "1.83.0.bcr.1", dev_dependency = True)
bazel_dep(name = "boost.detail", version = "1.83.0.bcr.1", dev_dependency = True)

Copy link
Member

@bazel-io bazel-io left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All modules in this PR have been approved by their maintainers. This PR will be merged if all presubmit checks pass.

@Wyverald Wyverald added the presubmit-auto-run Presubmit jobs will be triggered for new changes automatically without reviewer's approval label Nov 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

presubmit-auto-run Presubmit jobs will be triggered for new changes automatically without reviewer's approval skip-url-stability-check Skip the URL stability check for the PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants